﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace GdHotel.Data
{
    [MetadataType(typeof (SideBlockMetaData))]
    public partial class SideBlock
    {
    }

    public class SideBlockMetaData
    {
        [Display(Name = "Заголовок")]
        [StringValidator(MaxLength = 50)]
        public Object Title { get; set; }

        [Display(Name = "Картинка")]
        public Object PicturePath { get; set; }

        [Display(Name = "Ссылка")]
        public Object Link { get; set; }
    }
}
